Q3Matrix4x4_SetScale
You can use theQ3Matrix4x4_SetScale
function to configure a 4-by-4 scaling transformation matrix.
TQ3Matrix4x4 *Q3Matrix4x4_SetScale ( TQ3Matrix4x4 *matrix4x4, float xScale, float yScale, float zScale);
matrix4x4
- A 4-by-4 matrix.
xScale
- The desired amount of scaling along the x coordinate axis.
yScale
- The desired amount of scaling along the y coordinate axis.
zScale
- The desired amount of scaling along the z coordinate axis.
DESCRIPTION
TheQ3Matrix4x4_SetScale
function returns, as its function result and in thematrix4x4
parameter, a scaling matrix that scales an object by the amountxScale
along the x coordinate axis, by the amountyScale
along the y coordinate axis, and by the amountzScale
along the z coordinate axis.